package com.kgc.scd.service;

import com.kgc.scd.bean.SearchHistory;
import com.kgc.scd.util.RequestResult;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * Created On : 2022/6/17.
 * <p>
 * Author     : hi
 * <p>
 * Description: ；查询历史记录
 */
@FeignClient(value = "blmall-server-wzy-8106")
public interface SearchService {

    @PostMapping("/searchHistoryList")
     RequestResult<List<Object>> searchHistoryList (@RequestParam("historyKey") String historyKey);
}
